<template>
  <div class="app">
    <Header></Header>
    <div class="main">
    <router-view name="slidebar"></router-view>
    <router-view name="main"></router-view>
    </div>
    <Footer></Footer>
  </div>
</template>

<script>
import Header from './components/Header'
import PostList from './components/PostList'
import Footer from './components/Footer'
import Article from './components/Article'
import slidebar from './components/SlideBar'
export default {
  name: 'App',
  components:{
    Header,
    PostList,
    Article,
    slidebar,
    Footer,
  }
}
</script>

<style>
.main{
    width: 90%;
    max-width: 1400px;
    margin: 15px auto;
    min-height: 545px;
}
body {
  background-color: #e1e1e1;
  font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB",STHeiti,sans-serif!important;
}
*{
  margin: 0;
  padding: 0;
}
</style>
